package com.tocici.domain.vo;

import com.tocici.domain.Comment;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 评论视图对象 comment
 *
 * @author zeratul
 * @date 2025-03-02
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = Comment.class)
public class CommentVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long commentId;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long musicId;

    /**
     * 父id;评论的父id，为0表示顶级评论
     */
    @ExcelProperty(value = "父id;评论的父id，为0表示顶级评论")
    private Long parentId;

    /**
     * 需要用户表存在
     */
    @ExcelProperty(value = "需要用户表存在")
    private Long userId;

    /**
     *
     */
    @ExcelProperty(value = "")
    private String content;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Integer isDeleted;

    private Date createTime;

    private UserVo user;

    private MusicVo music;




}
